<template>
  <div style="padding: 0">
    <infoCourse></infoCourse>
    <el-container>
      <el-aside  width="200px" class="leftAside">
        <el-menu background-color="#ffffeb" >
          <el-menu-item-group>
            <template slot="title"></template>
            <el-menu-item index="1">
                <router-link to="/student/studentcourse/studentcoursecourse" tag="span">我的课程</router-link>
            </el-menu-item>
            <el-menu-item index="2">
              <router-link to="/student/studentcourse/studentcoursecollection" tag="span">我的收藏</router-link>
            </el-menu-item>
            <el-menu-item index="3">
                <router-link to="/student/studentcourse/studentcoursetest" tag="span">考试练习</router-link>
            </el-menu-item>
          </el-menu-item-group>
        </el-menu>
      </el-aside>
      <el-main><router-view></router-view></el-main>
    </el-container>
  </div>
</template>

<script>
import infoCourse from "./studentinforightcourse";

export default {
  name: "studentcourse",
  methods: {
    handleOpen(key, keyPath) {
      console.log(key, keyPath);
    },
    handleClose(key, keyPath) {
      console.log(key, keyPath);
    }
  },
  components:{
    'infoCourse':infoCourse,
  },
}
</script>

<style scoped>
@import "../../assets/css/student.css";

</style>
